package com.jason.quectel0805.db;

import com.jason.quectel0805.daos.ArticleDao;
import com.jason.quectel0805.daos.UserDao;
import com.jason.quectel0805.entities.Article;
import com.jason.quectel0805.entities.User;

import androidx.room.Database;
import androidx.room.RoomDatabase;

/**
 * @author：Jason
 * @date：2022/8/10 11:36
 * @email：1129847330@qq.com
 * @description:
 */
@Database(entities = {User.class, Article.class}, version = 1, exportSchema = true)
public abstract class MyRoomDatabase extends RoomDatabase {
    public abstract UserDao getUserDao();

    public abstract ArticleDao getArticleDao();
}